package com.yami.shop.bean.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 链平台店铺关联信息VO
 *
 * @author FrozenWatermelon
 * @date 2021-05-08 13:31:45
 */
@Data
public class BlockchainShopVO {

    @Schema(description = "")
    private Long blockchainShopId;

    @Schema(description = "店铺id")
    private Long shopId;

    @Schema(description = "链平台id")
    private Long blockchainId;

    @Schema(description = "扣率: 能量充值折扣（1代表1%）")
    private Double discount;

    @Schema(description = "店铺编码")
    private String shopCode;

    @Schema(description = "同步状态0:未开启1:已开启2:同步过")
    private Integer isSynchronization;

    @Schema(description = "api鉴权账号(店铺角色)")
    private String apiUser;

    @Schema(description = "api鉴权密码")
    private String apiPassword;

    @Schema(description = "是否可铸币 0 否1 是")
    private Integer isCoin;

    @Schema(description = "索引首字母")
    private String firstLetter;

    @Schema(description = "logo")
    private String imgUrl;

    @Schema(description = "链平台名称")
    private String name;

    @Schema(description = "链平台英文名称")
    private String nameEn;

    @Schema(description = "链平台状态")
    private Integer blockchainStatus;

    @Schema(description = "链平台编码")
    private String blockchainCode;

    @Schema(description = "链平台签约状态")
    private Integer blockchainShopStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(description = "备注")
    private String remarks;

    @Schema(description = "审核原因")
    private String auditReason;

    @Schema(description = "申请时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "店铺简介")
    private String intro;

}
